let user = {
    firstName: "John",
    sayHi() {
        console.info(`Hello, ${this.firstName}!`);
    }
};

user.sayHi();


let user1 = {
    firstName: "John",
    sayHi() {
        console.info('Hello, ${this.firstName}!');
    }
};
user1.sayHi();